<template>
  <view class="container">
    <web-view :src="weburl" :update-title="false" />
  </view>
</template>

<script>
  export default {
    data() {
      return {
        weburl: 'http://wx.tianqi.cn/Weather/weather?areaid=101121301',
        isShow: false,
      }
    },
    onLoad(options) {
      this.setTitle()
    },
    methods: {
      setTitle() {
        // setTimeout(() => {
          this.isShow = true
          // uni.setNavigationBarTitle({
          //   title:"天气预报"
          // })
        // }, 2000);
      },
    },
  }
</script>

<style scoped>
  
</style>
